<div class="rosters form">
<?php echo $this->Form->create('Roster'); ?>
	<fieldset>
		<legend><?php echo __('Add Roster'); ?></legend>
	<?php
		echo $this->Form->input('ros_time', array( 'label' => 'Time From'));
                echo $this->Form->input('ros_time_to', array( 'label' => 'Time To'));
		echo $this->Form->input('ros_date', array( 'label' => 'Date'));
		echo $this->Form->input('ros_preference', array( 'label' => 'Preference'));
                
                //many to many
		echo $this->Form->input('User', array('label' => 'Staff List', 'options' => $rosters));
                echo $this->Form->input('Time', array('label' => 'Time List', 'options' => $times, 'multiple' => 'checkbox'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Rosters'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
	</ul>
</div>
